package com.zjs.express.service;

import com.zjs.express.bean.Express;
import com.zjs.express.bean.vo.ExpressCountVo;
import com.zjs.express.bean.vo.ExpressVo;
import com.zjs.express.common.ResultModel;

import java.util.List;

public interface ExpressService {

    ExpressCountVo statistics();

    ResultModel<List<ExpressVo>> list(Integer pageIndex, Integer pageSize);

    ResultModel add(Express express);

    ResultModel update(Express express);

    ResultModel<ExpressVo> listByNumber(String number);
}
